﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml;

namespace MetroToolbox.Interactivity
{
    public class EventTrigger : EventTriggerBase<object>
    {
        public readonly static DependencyProperty EventNameProperty = DependencyProperty.Register(
            "EventName", 
            typeof(string), 
            typeof(EventTriggerBase), 
            new PropertyMetadata(null));

        public string EventName
        {
            get { return (string)this.GetValue(EventNameProperty); }
            set { this.SetValue(EventNameProperty, value); }
        }

        protected override string GetEventName()
        {
            return EventName;
        }
    }
}
